<?php if (count($Celebritys) > 0) { ?>
<div class="similar">
    <h2>
        <div class="com_tit">你会喜欢<span>LIKELY PREFER</span></div>
    </h2>
    <div class="similar_box">
        <?php
                            foreach ($Celebritys as $celebrity) {
        //print_r($celebrity);
        /* echo "<li>".link_to($celebrity["name"],"celebrity/detail?celebrityId=".$celebrity["celebrity_id"],"target='_blank'")
   ."</li>";
        }*/
        /*foreach($Celebritys as $celebrity){
            echo "<li>".link_to($celebrity->getName(),"celebrity/detail?catalogId=".$celebrity->getCatalog_id()
                    ."&celebrityId=".$celebrity->getCelebrity_id(),"target='_blank'")
   ."</li>";
        }*/
        echo "<div class='similar_con'>" . link_to("<img src='" . $celebrity->getSnapshotBig() . "' />"
            , "celebrity/detail?celebrityId=" . $celebrity->getCelebrityId()
            , "target='_blank'") . "<p>" . $celebrity->getName() . "</p></div>";
        //echo "<p>".$celebrity["name"]."</p>";
        //echo "<p>".$celebrity["snapshot_big"]."</p>";
    }

        ?>
    </div>
</div>
<?php } ?>